Search results
48 packages found
The same useRef, but with callback
A React hook that updates useRef().current with the most recent value each invocation
bedrock-layout useForwardedRef
A custom React hook, useFormFieldsRef, that creates an object with references to form inputs and provides methods to get and set their values, as well as to create FormData for form submissions.
bedrock-layout useStatefulRef
[![NPM](https://img.shields.io/npm/v/@vtaits/use-lazy-ref.svg)](https://www.npmjs.com/package/@vtaits/use-lazy-ref)
bedrock-layout useContainerQuery
An assortment of utilities for testing against unstable references in React
React Easy Context
- react
- ezcon
- react easy context
- scope Provider
- combination of Providers
- createContext
- useContext
- Provider
- useState
- ezState
- useRef
- ezRef
- ezCombineProvider
- redux
- View more
bedrock-layout type utils
Like useCallback, but supports imperative recapturing and always returns stable reference
Like useEffect, but optimized for ref
react react-native typescript:hooks 的状态 use 扩展
A lightweight React package that enhances the reliability of state values within functional components. By utilizing useRef under the hood, useLatestState ensures that you always access the latest state value, eliminating common pitfalls when working with
- react
- state-management
- state_management
- useref
- functional-components
- functional_components
- reliable-state
- reliable_state
- latest-state-value
- latest_state_value
- latest-value
- latest_value
- react-hooks
- react_hooks
- View more
Custom hook to manage several fields in a form. With this hook, you can manage all of them with only one useRef nd get some actions to get an object with all values or a formData ready to be use
A custom React hook to manage values with either useState or useRef.
A React hook combining multiple refs into one ref.
useRef and UseState together!
A simple React hook that creates a tilting card effect. ```jsx export default function CardWrapper() { const wrapperElement = useRef() const cardElement = useRef() const setDistance = useTilt(wrapperElement, cardElement, { degree: 30 })
A custom React Hook that provides a declarative useEventListener with native event binding.
- react-hooks
- hooks
- react
- utils
- lib
- event-listener
- addEventListener
- removeEventListener
- useRef
- ref
- HTMLElement
- ReactInstance
- event
- capture
- View more